#pragma once
#include "cocos2d.h"
USING_NS_CC;
enum fishtype
{
	red=1,
	green=2,
	maxtype
};
class fish :
	public CCNode
{
public:
	fish(void);
	~fish(void);
	 void onEnter();
	void onExit();
	bool init(fishtype type);
	//CREATE_FUNC(fish);
	static bool create(fishtype type);
private:
	fishtype m_type;
};

